<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0063)http://115.28.87.22:8888/cooper/CooperBillListForUnExamine.html -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>外协单反审核 | 管理易-广告加工制作管理软件  企业版 9.28  | 易凯软件</title>
<script src="../js/minierp.js"></script>

<link rel="stylesheet" type="text/css" href="../css/base.css">
<link href="../css/Query.css" rel="stylesheet" type="text/css">
<script src="../js/QueryList.js"></script>
<script src="../js/popup_ext.js"></script>
<script language="javascript">
	function doShow(id){
		var url="/cooper/CooperBillInfoForUnExamine.html?id="+id;
		ShowIframe("外协单反审核",url,900,500,"refreshWin()",900,600);
	}
	function refreshWin(){
		if(popRetVal!=null){
			window.location=window.location;
		}
	}
	function doExamine(id){
		ShowConfirm('确认框','确定反审核吗？',340,80,"doExamineCallBack('"+id+"')");
	}
	function doExamineCallBack(id){
		if(popRetVal!=null){
			var url="/cooper/CooperBillExamine.html?id_str="+id+"&flag=0";
			ShowIframe("外协单反审核",url,200,200,"refreshWin()");
		}
	}
	function doMutiExamine(){
		var ob_arr = document.getElementsByName("query_checkbox");
		var str="";
		for (i=0;i<ob_arr.length;i++){
			if ((ob_arr[i].checked == true)){
				if(str!=""){
					str=str+";";
				}
				str = str+ob_arr[i].value;
			}
		}
		if(str!=""){
			doExamine(str);
		}else{
			ShowAlert('提示框','请选择要反审核的外协单',200,100);
		}
	}
	function doSearch(){
		var searchKey=encodeURIComponent(document.getElementById("search_key").value.trim());
		var tsId=document.getElementById("ts_id").value;
		window.location="/cooper/CooperBillListForUnExamine.html?ts_id="+tsId+"&search_key="+searchKey;
	}
	function doGo(pageIndex){
		var searchKey=encodeURIComponent(document.getElementById("hid_search_key").value);
		window.location="/cooper/CooperBillListForUnExamine.html?ts_id=2&search_key="+searchKey+"&current_page="+pageIndex;
	}
	function doJump(pageIndex){
		if(window.event.keyCode==13){
			doGo(pageIndex);
		}
	}
	function DoubleClick(it){
		var ob_arr = document.getElementsByName("query_checkbox");
		var str="";
		if(ob_arr.length>=it.getAttribute("index")){
			str=ob_arr[it.getAttribute("index")-1].value;
		}
		if(str==""){
			return;
		}
		doShow(str);
	}
	function doCancel(){
		window.close();
	}
	function doInit(){
		//Window_Onload();
		document.getElementById("search_key").focus();
	}
	function checkSearchKey(){
		if(window.event.keyCode==13){
			doSearch();
		}
	}
</script>
</head>
<body oncontextmenu="return false" onload="doInit();" class="sheet" style="text-align:center;">
<div class="sheet-main" style="width:860px;text-align:left;margin:auto;">
  <div class="sheet-top">
    <div class="content">
      <h2>外协单反审核</h2>
      <p>已审核且没有发生后续业务(例如付款、调账、收货等)的外协单才会出现这里</p>
    </div>
  </div>
  <div class="sheet-list">
    <div class="search-business">
      <div class="content">
        <table width="748">
          <tbody>
            <tr>
              <td align="right">
				  <input type="text" class="TextBox" id="search_key" name="search_key" onkeyup="checkSearchKey();" style="width:100px" value="" title="以外协单位名称、外协单位拼音字头、摘要、外协单号进行模糊查询">
				  <input type="hidden" id="hid_search_key" name="hid_search_key" value="">
	              <select name="ts_id" id="ts_id">
					<option value="0">==请选择账套==</option>
					
					<option value="1">新异</option>
					
					<option value="2" selected="">网络公司</option>
					
		  		  </select>
	              <input type="button" class="buttom search-but" value=" 查 询" onclick="doSearch();" title="以外协单位名称、外协单位拼音字头、摘要、外协单号进行模糊查询">
	              <input type="button" class="buttom  search-audit" value=" 反审核" onclick="doMutiExamine();">
				</td>
            </tr>    
           </tbody>      
        </table>
      </div>
	  
<table width="98%" border="0" cellpadding="0" cellspacing="0">
	<tbody><tr id="errorMsgTr" style="display:none">
	  <td>
	  	<div class="msg-error" id="errorMsgTd">
	  	
	  	</div>
	  </td>
	</tr>
</tbody></table>
	  <div class="table-list">
        <table width="100%">      
			<tbody><tr>
				<th width="14"><input type="checkbox" onclick="javascript:checkall(this);"></th>
				<th width="15%">单号</th>
				<th width="10%">外协日期</th>
				<th width="25%">外协单位</th>
				<th width="20%">摘要</th>
				<th width="10%">交货日期</th>
				<th width="10%">业务员</th>
				<th width="10%">操作</th>
			</tr>
			
		</tbody></table>
			
    <div class="table-bot">
    	
    	
    	 
    	  <img src="../images/but001.gif">
    	  <img src="../images/but002.gif">
    	    	
    	第 <input type="text" name="pageNumber" style="width:30px" value="0" onkeydown="javascript:doJump(this.value);" class="TextBox"> 页 
    	共0页
		
		
        <img src="../images/but003.gif">
        <img src="../images/but004.gif">
		
    </div>
      </div>
    </div>
  </div>
</div>

</body></html>